import request from "@/utils/request";
import defaultSettings from "@/settings";

// 检查大额起点金额
export function isLessThenHvpsMinLimitNew(bizTypeCode, bizCtgyCode, bizPriority, amount) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/cnaps2/check/isLessThenHvpsMinLimitNew`,
    method: "get",
    params: {
      bizTypeCode: bizTypeCode,
      bizCtgyCode: bizCtgyCode,
      bizPriority: bizPriority,
      amount: amount,
    },
  });
}


//计算手续费

export function feeCalculate(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/feeManage/FeeCalculate/getFeeAmount`,
    method: "post",
    data:data
  });
}
